package com.hzw.entity;

import com.hzw.common.MapperGenerator;
import lombok.*;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;




@Data
@Entity
@Table ( name ="commodity_type" )
public class CommodityType {
  private static final long serialVersionUID = 1L;

  @Column(name = "id" )
  @Id
  private String id;

  @Column(name = "classification" )
  private String classification;

  @Column(name = "create_time" )
  private String createTime;


  public CommodityType () {
  }

  public static void main(String[] args) {
    System.out.println(MapperGenerator.genMapper(CommodityType.class));
  }

}
